#include "ModbusFunctionStruct.h"

ModbusFunctionStruct::ModbusFunctionStruct()
{
    m_functionCode = 0;
}

QString ModbusFunctionStruct::name() const
{
    return m_name;
}

void ModbusFunctionStruct::setName(const QString &name)
{
    m_name = name;
}

quint8 ModbusFunctionStruct::functionCode() const
{
    return m_functionCode;
}

void ModbusFunctionStruct::setFunctionCode(const quint8 &functionCode)
{
    m_functionCode = functionCode;
}

QList<ModbusActionStruct> ModbusFunctionStruct::actionList() const
{
    return m_actionList;
}

void ModbusFunctionStruct::setActionList(const QList<ModbusActionStruct> &actionList)
{
    m_actionList = actionList;
}
